AcVendor\Brick\Math\BigRational S

Total Complexity 45
Dependencies 8
Dependents 7
Total lines 435
Lines of code 166
Logical lines of code 88
Comment lines 231
Methods 33
Properties 2

Methods 33

Method Rating Maintainability Complexity Lines of code
__construct()
S
62 4 13
power()
S
64 3 10
__unserialize()
S
68 2 7
__toString()
S
67 2 8
toBigInteger()
S
68 2 7
unserialize()
S
66 2 8
zero()
S
68 2 7
ten()
S
68 2 7
one()
S
68 2 7
getNumerator()
S
82 1 3
getSign()
S
81 1 3
serialize()
S
80 1 3
nd()
S
72 1 5
__serialize()
S
78 1 3
toFloat()
S
75 1 4
toInt()
S
81 1 3
toScale()
S
79 1 3
toBigRational()
S
82 1 3
toBigDecimal()
S
80 1 3
simplified()
S
69 1 6
compareTo()
S
80 1 3
getDenominator()
S
82 1 3
negated()
S
78 1 3
abs()
S
78 1 3
of()
S
79 1 3
dividedBy()
S
69 1 6
multipliedBy()
S
69 1 6
minus()
S
67 1 7
plus()
S
67 1 7
quotientAndRemainder()
S
80 1 3
remainder()
S
80 1 3
quotient()
S
80 1 3
reciprocal()
S
78 1 3